package com.haizhi.service.impl;

import com.haizhi.entity.User;
import com.haizhi.mapper.UserMapper;
import com.haizhi.service.IUserService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * Created with IntelliJ IDEA.
 * Description:
 * User: youfeng
 * Date: 2018-09-27
 * Time: 10:32
 */
@Service
public class UserServiceImpl implements IUserService {

    @Autowired
    private UserMapper userMapper;

    public User findUserByUserName(String username) {
        return userMapper.findUserByUserName(username);
    }
}
